package com.sishuok.jmstest.broker;

import org.apache.activemq.broker.BrokerFactory;
import org.apache.activemq.broker.BrokerService;

public class InnerBroker2 {
	public static void main(String[] args) throws Exception {
		String uri = "properties:broker.properties";
		BrokerService broker = BrokerFactory.createBroker(uri);
		broker.addConnector("tcp://localhost:61616");
		broker.start();
	}
}
